<template>
  <el-row class="tac">
    <el-col :span="4">
      <el-menu
          router
          default-active="/admin/userInfo"
      >
        <el-menu-item index="/admin/userInfo">
          <span slot="title">用户管理</span>
        </el-menu-item>
        <el-menu-item index="/admin/articleInfo">
          <span slot="title">帖子管理</span>
        </el-menu-item>
      </el-menu>
    </el-col>
    <el-col :span="20">
      <router-view/>
    </el-col>
  </el-row>
</template>

<script>
export default {
name: "Admin"
}
</script>

<style scoped>

</style>